home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / CBGRX103.ZIP / contrib / libgrx / test / makefile.tcc < prev    next >
Makefile  |  1993-12-06  |  742b  |  35 lines

  1. #
  2. # uncomment and change this if not defined in the environment
  3. # TCCLIB= c:\bin\tcc\lib
  4. #
  5.  
  6. !if !$d(MODEL)
  7. MODEL=  l
  8. !endif
  9.  
  10. !if $d(DEBUG)
  11. TCCDBG= -v
  12. !endif
  13.  
  14. TCCEXE= test.exe wintest.exe winclip.exe cliptest.exe rgbtest.exe framtest.exe \
  15.     colorops.exe blittest.exe fonttest.exe curstest.exe mousetst.exe \
  16.     circtest.exe polytest.exe arctest.exe testpatt.exe linetest.exe
  17.  
  18. all:    $(TCCEXE)
  19.  
  20. .c.exe:
  21.     tcc -m$(MODEL) $(TCCDBG) -w -O -G -Z -I../include $*.c $(TCCLIB)\wildargs.obj ..\lib\grx$(MODEL).lib
  22.     -del $*.obj
  23.  
  24. redo:
  25.     cd ..\src
  26. !if $d(DEBUG)
  27.     make.exe -fmakefile.tcc -DDEBUG
  28. !else
  29.     make.exe -fmakefile.tcc
  30. !endif
  31.     cd ..\test
  32.  
  33. $(TCCEXE): test.h ../include/grx.h ../include/mousex.h ../lib/grx$(MODEL).lib
  34.  
  35.